package com.heima.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.heima.bean.Orders;
import com.heima.common.PageParam;
import com.heima.dto.OrdersDto;

public interface OrderService {
    /**
     * 提交订单
     * @param order
     * @return
     */
    int add(Orders order);

    IPage<Orders> getUserPage(PageParam pageParam);

    IPage<OrdersDto> getPage(PageParam pageParam);

    int updateStatus(Orders orders);





}
